//
//  __7ControllerDemoAppDelegate.m
//  3-7ControllerDemo
//
//  Created by smu on 11-8-9.
//  Copyright 2011年 duk. All rights reserved.
//

#import "__7ControllerDemoAppDelegate.h"
#import "ControllerDemoViewController.h"

@implementation __7ControllerDemoAppDelegate


@synthesize window;
@synthesize viewController;

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    CGRect screenBounds = [[UIScreen mainScreen] bounds];
    self.window = [[[UIWindow alloc] initWithFrame:screenBounds] autorelease];
    viewController = [[ControllerDemoViewController alloc] init];
    [window addSubview:viewController.view];
    [window makeKeyAndVisible];
    
    return YES;
}


- (void)dealloc
{
    [viewController release];
    [window release];
    [super dealloc];
}

@end
